<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>友情链接 - 合作伙伴展示</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #3B82F6;
            --primary-light: #DBEAFE;
            --secondary: #10B981;
            --dark: #1E293B;
            --gray: #64748B;
            --light-gray: #F1F5F9;
            --border: #E2E8F0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            color: var(--dark);
            background-color: #F8FAFC;
            line-height: 1.6;
            padding-top: 3rem;
            padding-bottom: 4rem;
        }
        
        .container {
            max-width: 1200px;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.75rem;
            position: relative;
            display: inline-block;
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 15%;
            width: 70%;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px;
        }
        
        .page-subtitle {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }
        
        .links-section {
            margin-bottom: 4rem;
        }
        
        .section-header {
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-light);
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .section-title i {
            color: var(--primary);
        }
        
        .section-desc {
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        
        /* 图文友情链接样式 */
        .图文友情链接 {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .图文链接卡片 {
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }
        
        .图文链接卡片:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }
        
        .链接图片容器 {
            height: 160px;
            overflow: hidden;
        }
        
        .链接图片 {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .图文链接卡片:hover .链接图片 {
            transform: scale(1.05);
        }
        
        .链接信息 {
            padding: 1rem;
        }
        
        .链接标题 {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }
        
        .链接描述 {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .链接类别 {
            display: inline-block;
            font-size: 0.8rem;
            color: var(--primary);
            background-color: var(--primary-light);
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
        }
        
        /* 文字友情链接样式 */
        .文字友情链接 {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .文字链接项 {
            background-color: white;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 0.75rem 1.25rem;
            transition: all 0.3s ease;
        }
        
        .文字链接项:hover {
            background-color: var(--primary-light);
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        
        .文字链接 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--dark);
            text-decoration: none;
            font-size: 0.95rem;
        }
        
        .文字链接:hover {
            color: var(--primary);
        }
        
        .链接图标 {
            color: var(--primary);
            font-size: 1rem;
        }
        
        /* Logo友情链接样式 */
        .logo友情链接 {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 1.5rem;
        }
        
        .logo链接项 {
            background-color: white;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 120px;
            transition: all 0.3s ease;
        }
        
        .logo链接项:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }
        
        .链接logo {
            max-width: 100%;
            max-height: 80px;
            object-fit: contain;
            transition: filter 0.3s ease;
        }
        
        .logo链接项:hover .链接logo {
            filter: brightness(1.1);
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .图文友情链接 {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .page-title {
                font-size: 2rem;
            }
            
            .logo友情链接 {
                grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.75rem;
            }
            
            .图文友情链接 {
                grid-template-columns: 1fr;
            }
            
            .文字友情链接 {
                justify-content: center;
            }
            
            .logo友情链接 {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 页面标题 -->
        <div class="page-header">
            <h1 class="page-title">友情链接</h1>
            <p class="page-subtitle">感谢以下合作伙伴的支持，点击链接访问他们的网站</p>
        </div>
        
        <!-- 图文友情链接 -->
        <div class="links-section">
            <div class="section-header">
                <h2 class="section-title"><i class="fas fa-image"></i> 图文友情链接</h2>
                <p class="section-desc">包含图片和详细描述的合作伙伴链接，展示更丰富的信息</p>
            </div>
            
            <div class="图文友情链接">
                <div class="图文链接卡片">
                    <div class="链接图片容器">
                        <img src="https://picsum.photos/seed/link1/600/400" alt="科技资讯网站首页展示" class="链接图片">
                    </div>
                    <div class="链接信息">
                        <h3 class="链接标题">科技前沿</h3>
                        <p class="链接描述">提供最新科技资讯、产品评测和行业动态，聚焦人工智能、区块链等前沿技术。</p>
                        <span class="链接类别">科技资讯</span>
                    </div>
                </div>
                
                <div class="图文链接卡片">
                    <div class="链接图片容器">
                        <img src="https://picsum.photos/seed/link2/600/400" alt="旅行博客展示的风景照片" class="链接图片">
                    </div>
                    <div class="链接信息">
                        <h3 class="链接标题">环球旅行家</h3>
                        <p class="链接描述">分享全球各地旅行攻略、美景照片和文化体验，带你领略不一样的世界风情。</p>
                        <span class="链接类别">旅行博客</span>
                    </div>
                </div>
                
                <div class="图文链接卡片">
                    <div class="链接图片容器">
                        <img src="https://picsum.photos/seed/link3/600/400" alt="美食博客展示的精美菜肴" class="链接图片">
                    </div>
                    <div class="链接信息">
                        <h3 class="链接标题">味蕾盛宴</h3>
                        <p class="链接描述">探索各地美食文化，分享家常菜谱和餐厅评测，让你的餐桌充满惊喜。</p>
                        <span class="链接类别">美食分享</span>
                    </div>
                </div>
                
                <div class="图文链接卡片">
                    <div class="链接图片容器">
                        <img src="https://picsum.photos/seed/link4/600/400" alt="设计工作室展示的作品" class="链接图片">
                    </div>
                    <div class="链接信息">
                        <h3 class="链接标题">创意设计坊</h3>
                        <p class="链接描述">专注UI/UX设计、平面设计和品牌策划，分享设计灵感和行业见解。</p>
                        <span class="链接类别">设计创意</span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 文字友情链接 -->
        <div class="links-section">
            <div class="section-header">
                <h2 class="section-title"><i class="fas fa-font"></i> 文字友情链接</h2>
                <p class="section-desc">简洁的文字链接形式，快速访问各合作伙伴网站</p>
            </div>
            
            <div class="文字友情链接">
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-code link-icon"></i>
                        <span>编程学习网</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-book link-icon"></i>
                        <span>知阅读书社区</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-music link-icon"></i>
                        <span>音乐爱好者</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-film link-icon"></i>
                        <span>光影影评</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-gamepad link-icon"></i>
                        <span>游戏攻略站</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-briefcase link-icon"></i>
                        <span>职场分享</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-graduation-cap link-icon"></i>
                        <span>考研资料馆</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-heart link-icon"></i>
                        <span>心理健康坊</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-paint-brush link-icon"></i>
                        <span>艺术鉴赏</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-running link-icon"></i>
                        <span>健康运动</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-paw link-icon"></i>
                        <span>宠物乐园</span>
                    </a>
                </div>
                
                <div class="文字链接项">
                    <a href="#" class="文字链接">
                        <i class="fas fa-home link-icon"></i>
                        <span>家居设计</span>
                    </a>
                </div>
            </div>
        </div>
        
        <!-- Logo友情链接 -->
        <div class="links-section">
            <div class="section-header">
                <h2 class="section-title"><i class="fas fa-th"></i> Logo友情链接</h2>
                <p class="section-desc">以品牌Logo展示的合作伙伴，直观呈现合作关系</p>
            </div>
            
            <div class="logo友情链接">
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo1/200/80" alt="创新科技公司Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo2/200/80" alt="未来设计工作室Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo3/200/80" alt="环球贸易公司Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo4/200/80" alt="绿色环保组织Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo5/200/80" alt="健康生活品牌Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo6/200/80" alt="教育研究院Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo7/200/80" alt="金融服务公司Logo" class="链接logo">
                </a>
                
                <a href="#" class="logo链接项">
                    <img src="https://picsum.photos/seed/logo8/200/80" alt="艺术文化基金会Logo" class="链接logo">
                </a>
            </div>
        </div>
        
        <!-- 链接申请区域 -->
        <div class="links-section bg-white p-4 rounded-lg border border-primary-light">
            <div class="section-header">
                <h2 class="section-title"><i class="fas fa-handshake"></i> 申请友情链接</h2>
            </div>
            
            <p class="mb-3">如果您希望与我们交换友情链接，请填写以下信息，我们会尽快审核并回复。</p>
            
            <form class="row g-3">
                <div class="col-md-6">
                    <label for="siteName" class="form-label">网站名称</label>
                    <input type="text" class="form-control" id="siteName" placeholder="请输入您的网站名称">
                </div>
                
                <div class="col-md-6">
                    <label for="siteUrl" class="form-label">网站URL</label>
                    <input type="url" class="form-control" id="siteUrl" placeholder="请输入您的网站地址">
                </div>
                
                <div class="col-md-6">
                    <label for="siteCategory" class="form-label">网站分类</label>
                    <select class="form-select" id="siteCategory">
                        <option selected>请选择分类</option>
                        <option value="tech">科技资讯</option>
                        <option value="culture">文化艺术</option>
                        <option value="education">教育培训</option>
                        <option value="business">商业财经</option>
                        <option value="life">生活休闲</option>
                        <option value="other">其他</option>
                    </select>
                </div>
                
                <div class="col-md-6">
                    <label for="contactEmail" class="form-label">联系邮箱</label>
                    <input type="email" class="form-control" id="contactEmail" placeholder="请输入您的联系邮箱">
                </div>
                
                <div class="col-12">
                    <label for="siteDescription" class="form-label">网站描述</label>
                    <textarea class="form-control" id="siteDescription" rows="3" placeholder="请简要描述您的网站"></textarea>
                </div>
                
                <div class="col-12">
                    <button type="submit" class="btn btn-primary">提交申请</button>
                </div>
            </form>
        </div>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 为所有链接项添加平滑的悬停效果动画
            const linkItems = document.querySelectorAll('.图文链接卡片, .文字链接项, .logo链接项');
            
            linkItems.forEach(item => {
                item.addEventListener('mouseenter', function() {
                    this.style.transition = 'all 0.3s ease';
                });
                
                item.addEventListener('mouseleave', function() {
                    this.style.transition = 'all 0.3s ease';
                });
            });
            
            // 表单提交处理
            const linkForm = document.querySelector('form');
            linkForm.addEventListener('submit', function(e) {
                e.preventDefault();
                
                // 在实际应用中，这里会有AJAX请求处理表单提交
                alert('友情链接申请已提交，我们会尽快审核并与您联系！');
                linkForm.reset();
            });
        });
    </script>
</body>
</html>

